package com.example.dormitory.entity;

import javax.validation.constraints.NotNull;
import org.hibernate.validator.constraints.Length;
import com.example.dormitory.utils.Entity;
import java.util.Date;


/**
 * 
 * @author 596183363@qq.com
 * @time 2021-11-17 11:33:51
 */
public class DormitoryStudent extends Entity{

	/**
	 * 
	 */
	private Integer id;
	/**
	 * 
	 */
	private Integer dormitoryID;
	/**
	 * 
	 */
	private Integer bedID;
	/**
	 * 
	 */
	private Date begintime;
	/**
	 * 0没有住/1住人了
	 */
	private Integer state;

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getDormitoryID() {
		return dormitoryID;
	}
	public void setDormitoryID(Integer dormitoryID) {
		this.dormitoryID = dormitoryID;
	}
	public Integer getBedID() {
		return bedID;
	}
	public void setBedID(Integer bedID) {
		this.bedID = bedID;
	}
	public Date getBegintime() {
		return begintime;
	}
	public void setBegintime(Date begintime) {
		this.begintime = begintime;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
}